package com.wang.tool.delivery.req;

import com.wang.tool.delivery.cache.page.RenderRangeModeEnum;

import java.util.List;
import java.util.Map;

/**
 * @author shaopeng
 * @date 2022/7/22
 */
public class PageSceneRequest extends SceneRequest {

    /*渲染参数*/

    /**
     * 代表支持的模块列表
     */
    private List<String> supportModuleCodes;


    /**
     * 渲染范围
     *
     * @see RenderRangeModeEnum
     */
    private String renderRangeMode;

    /**
     * RenderRangeModeEnum=SPLIT_SCREEN生效
     * 分屏号
     */
    private Integer sceneNum;

    /**
     * 是否仅返回本次渲染的区块
     */
    private boolean onlyRenderModule;

    /**
     * 区块渲染策略
     */
    private Map<String,String> moduleRenderStrategys;


    public List<String> getSupportModuleCodes() {
        return supportModuleCodes;
    }

    public void setSupportModuleCodes(List<String> supportModuleCodes) {
        this.supportModuleCodes = supportModuleCodes;
    }

    public Integer getSceneNum() {
        return sceneNum;
    }

    public void setSceneNum(Integer sceneNum) {
        this.sceneNum = sceneNum;
    }

    public boolean isOnlyRenderModule() {
        return onlyRenderModule;
    }

    public void setOnlyRenderModule(boolean onlyRenderModule) {
        this.onlyRenderModule = onlyRenderModule;
    }

    public String getRenderRangeMode() {
        return renderRangeMode;
    }

    public void setRenderRangeMode(String renderRangeMode) {
        this.renderRangeMode = renderRangeMode;
    }

    public Map<String, String> getModuleRenderStrategys() {
        return moduleRenderStrategys;
    }

    public void setModuleRenderStrategys(Map<String, String> moduleRenderStrategys) {
        this.moduleRenderStrategys = moduleRenderStrategys;
    }
}
